//
//  RemindTableViewCell.m
//  110
//
//  Created by 段报雪 on 16/4/20.
//  Copyright © 2016年 乔砥. All rights reserved.
//

#import "RemindTableViewCell.h"

@implementation RemindTableViewCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self)
    {
        _titleLabel = [[UILabel alloc] initWithFrame:CGRectMake(20, 20, 100, 30)];
        _titleLabel.text = @"服药者姓名:";
        _titleLabel.textColor = [UIColor blackColor];
        [self.contentView addSubview:_titleLabel];
        
        _timeLabel = [[UILabel alloc] initWithFrame:CGRectMake(20, 60, 100, 30)];
        _timeLabel.text = @"服药时间:";
        _timeLabel.textColor = [UIColor blackColor];
        [self.contentView addSubview:_timeLabel];
        
        
        _nameLabel = [[UILabel alloc]initWithFrame:CGRectMake(130, 20, 200, 30)];
        [self.contentView addSubview:_nameLabel];
        
        //  通知传值
        _dateLabel = [[UILabel alloc] initWithFrame:CGRectMake(130, 60, 200, 30)];
        [self.contentView addSubview:_dateLabel];
        
        
    }
    return self;
}


- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}


- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
